// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   QNA5B8.java

package org.quickserver.net.GB268753QN.control;

import java.util.*;
import org.quickserver.net.model.GB26875SetUp;
import org.quickserver.net.model.GBServerData;
import org.quickserver.net.server.ClientHandler;
import org.quickserver.util.data.dataProcessing;

public class QNA5B8
{

    public QNA5B8()
    {
    }

    public static void QNA5B8OBJ(ClientHandler handler, String strs[], String serialNumber)
    {
        GBServerData ec = (GBServerData)handler.getClientData();
        String stateTime[] = new String[6];
        stateTime[0] = strs[4];
        stateTime[1] = strs[5];
        stateTime[2] = strs[6];
        stateTime[3] = strs[7];
        stateTime[4] = strs[8];
        stateTime[5] = strs[9];
        String time = dataProcessing.strsToTime(stateTime);
        Map map = new HashMap();
        map.put("time", time);
        List list = ec.getSerialNumberList();
        for(int i = 0; i < list.size(); i++)
        {
            GB26875SetUp gs = (GB26875SetUp)list.get(i);
            if(!gs.getSerialNumber().equals(serialNumber))
                continue;
            ((GB26875SetUp)list.get(i)).setTrue(true);
            ((GB26875SetUp)list.get(i)).setOk(true);
            ((GB26875SetUp)list.get(i)).setDataMap(map);
            break;
        }

    }
}
